/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pokerhandcheck;

/**
 *
 * @author cbowman
 */
public class Card {

    int value;
    int suit;
    String su;

    public Card(int v, int s){
        value = v;
        suit = s;
        SuitString();
    }

    public void SuitString(){
        if(suit == 1)
            su = new String("S");
        else if(suit == 2)
            su = new String("H");
        else if(suit == 3)
            su = new String("D");
        else
            su = new String("C");
    }

    public String toString(){
        String s = new String(value+su);
        return s;
    }
}
